package cn.wei.sdd.core.pojo.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 提现记录表
 * </p>
 *
 * @author Wei
 * @since 2021-11-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TakeMoneyRecord对象", description="提现记录表")
public class TakeMoneyRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "记录编号")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "申请提现编号")
    private String outTradeNo;

    @ApiModelProperty(value = "操作员")
    private String checker;

    @ApiModelProperty(value = "用户编号")
    private Long userId;

    @ApiModelProperty(value = "1：回收员 2：普通用户")
    private Integer userType;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "支付宝交易号")
    private String tradeNo;

    @ApiModelProperty(value = "状态（0：审核中，1：审核失败，2：提现成功）")
    private Integer status;

    @ApiModelProperty(value = "提现金额")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "支付宝账号")
    private String zfbAccount;

    @ApiModelProperty(value = "备注")
    private String memo;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "逻辑删除(1:已删除，0:未删除)")
    @TableField("is_deleted")
    @TableLogic
    private Boolean deleted;


}
